package com.zzl.bonds.ticket.dto.finance;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.zzl.apidoc.annotation.ApidocModel;
import com.zzl.apidoc.annotation.ApidocModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;
import java.util.Date;

/**
 * 融资申请单
 *
 * @author gull
 * @date 2022-02-24 13:53:42
 */
@Data
@ApidocModel
public class TicketFinanceUpdateDto implements Serializable {
    private static final long serialVersionUID = 1L;
    @NotBlank(message = "融资id不能为空")
    @ApidocModelProperty(description = "融资id")
    private String id;
    @ApidocModelProperty(description = "金融机构id")
    private Integer instinctyId;
    @JsonFormat(pattern = "yyyy-MM-dd")
    @ApidocModelProperty(description = "实际放款时间", validate = "yyyy-MM-dd")
    private Date loanTime;
    @ApidocModelProperty(description = "融资利率是否年化,0：否，1:是")
    private Integer isAnnualizedInterestRate;
    @ApidocModelProperty(description = "融资利率")
    private Double annualizedInterestRate;
    @ApidocModelProperty(description = "服务费用")
    private Double serviceChage;
    @ApidocModelProperty(description = "凭证状态 1：融资待复核 2、融资已复核 3、平台待审核 4、平台已审批 5、待放款")
    private Integer ticketStatus;


}
